package com.example.gesturerecognition.model;

import org.springframework.context.annotation.Bean;

import java.sql.Timestamp;

public class History
{
    private int hid;  //历史记录标识id
    private int uid;  //用户id
    private Timestamp time;  //时间
    private String path;  //视频在本地的路径
    private String name;  //视频名
    private String translation;  //翻译的文字

    @Override
    public String toString() {
        return "History{" +
                "hid=" + hid +
                ", uid=" + uid +
                ", time=" + time +
                ", path='" + path + '\'' +
                ", name='" + name + '\'' +
                ", translation='" + translation + '\'' +
                '}';
    }

    public int getHid() {
        return hid;
    }

    public void setHid(int hid) {
        this.hid = hid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTranslation() {
        return translation;
    }

    public void setTranslation(String translation) {
        this.translation = translation;
    }
}
